<div class="act">
	<? $this->widget('zii.widgets.CBreadcrumbs', array(
		'links'=>$this->bread,
		'htmlOptions'=>array('class'=>'act_str'),
		'separator'=>' &gt; '
	)); ?>
	<div class="act_title"><?=$new->title?></div>
	<div class="act_body">
		<div class="new_item">
			<div class="new_img"><img src="<?=$new->img?>"></div>
			<div class="new_date"><?= Yii::app()->dateFormatter->format('d MMMM yyyy', $new->date); ?></div>
			<div class="new_text"><?=$new->body?></div>
			<div class="clear"></div>
			<div class="new_back">&lt; <a href="<?= CHtml::normalizeUrl(array('site/news')) ?>">Вернуться к списку новостей</a></div>
		</div>
		<div class="block_offers_new">
			<div class="bo_new_t">Смотрите также</div>
			<?
			$news=News::model()->findAll(array('condition'=>'`isVisible`=1  AND `id`<>:id', 'params'=>array(':id'=>$new->id),'order'=>'`date` DESC', 'limit'=>10));
			shuffle($news);
			$count=count($news);
			?>
			<div class="bo_new_b">
				<? for($i=0;$i<3;$i++): ?>
					<?if($count<=$i)continue;?>
				    <div class="bo_new_block">
					<div class="bo_new_img"><img src="<?=$news[$i]->img?>"></div>
					<div class="bo_new_date"><?= Yii::app()->dateFormatter->format('d MMMM yyyy', $news[$i]->date); ?></div>
					<div class="bo_new_title"><a href="<?= CHtml::normalizeUrl(array('site/view', 'id'=>$news[$i]->id)) ?>"><?=$news[$i]->title?> </a></div>
					<div class="bo_new_text"><?=$news[$i]->small?></div>
					<div class="bo_new_preview"><a href="<?= CHtml::normalizeUrl(array('site/view', 'id'=>$news[$i]->id)) ?>">Подробнее</a></div>
					<div class="clear"></div>
				</div>
				<? endfor; ?>
			</div>
		</div>

	</div>
	<!--/Акции--->
</div>